import java.util.HashSet;
import java.util.Set;

public class Main {
    public static void main(String[] args) {
        Student stu1=new Student("zhang","20232016",99);
        Student stu2=new Student("chen","20232015",99);
        Student stu3=new Student("zhu","20232014",99);
        Student stu4=new Student("zhou","20232013",99);
        Student.classes="高三八班";
        Set<Student>stu=new HashSet<>();
        stu.add(stu1);
        stu.add(stu2);
        stu.add(stu3);
        stu.add(stu4);
        for(Student student:stu){
            System.out.println("班级:"+Student.classes+"姓名:"+student.Name+"学号:"+student.id+"成绩:"+student.grade);
        }
    }
}